*{
    margin: 0;
    padding: 0;
}
body{
    background-color: #ddd;
}
.wrap{
    position: relative;
    margin: 0 auto;
    width: 640px;
    height: 720px;
    border: 1px solid #000;
    background-color: rgb(240, 198, 82);
}
/* 宽高60 */
.top,.bottom{
    display: grid;
    grid-template-columns: repeat(8,80px);
    grid-template-rows: repeat(4,80px);
}
.top div,.bottom div{
    width: 80px;
    height: 80px;
    border: 1px solid #000;
    box-shadow: 0 0 10px 4px rgba(255,255,255,0.4) inset;
}
.active{
    box-shadow: 0 0 20px 15px rgba(255,0,0,0.5);
}
.cen{
    height: 80px;
    background-color: rgb(176, 230, 252);
}
.top-span,.bottom-span{
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgb(182, 150, 62);
    font: bold 36px/50px "隶书";
    text-align: center;
    cursor: pointer;
}
.top-span{
    color: #000;
    transform: translate(-50%,-50%);
    box-shadow: 0 0 20px 5px rgba(255,255,255,0.4);
}
.bottom-span{
    color: red;
    transform: translate(-50%,-50%);
    box-shadow: 0 0 20px 5px rgba(0,0,0,0.3);
}
.time{
    position: fixed;
    top: 40px;
    right: 200px;
    padding: 10px 20px;
    border: 1px solid #000;
    line-height: 40px;
}
.lost-time{
    font-style: normal;
    font: bold 24px/40px "黑体";
}
.win{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
}
.cover{
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.3);
}
.good{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 400px;
    background-color: rgb(202, 204, 108);
    text-align: center;
    cursor: pointer;
}
.btn,.no{
    cursor: pointer;
    font-size: 30px;
    line-height: 40px;
    margin: 10px;
}
a{
    color: inherit;
    text-decoration: none;
}
.chaofeng{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    padding: 20px 40px;
    border: 1px solid #000;
    font: bold 60px/400px "隶书";
    background-color: #ccc;
    display: none;
    cursor: pointer;
}
.chaofeng button{
    display: block;
    margin: 0 auto;
    background-color: #ccc;
    line-height: 100px;
    font-size: 40px;
    outline: none;
    border: none;
}